home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / SHARED.DIR / 01973_Script_CrossTheatre < prev    next >
Text File  |  1995-09-13  |  9KB  |  339 lines

  1. global gWhichMovieNo,gTheHelpIsOn
  2.  
  3. on ECrossTheatre 
  4.   globalKill
  5.   TurnOffPuppets
  6.   sound playFile 4, "SMOVIE.AIF"
  7.   go movie "ETheatre"
  8.   abort
  9. end
  10.  
  11. on VCrossTheatre 
  12.   globalKill
  13.   TurnOffPuppets
  14.   sound playFile 4, "SMOVIE.AIF"
  15.   go movie "VTheatre"
  16.   abort
  17. end
  18.  
  19. on ACrossTheatre 
  20.   globalKill
  21.   TurnOffPuppets
  22.   sound playFile 4, "SMOVIE.AIF"
  23.   go movie "ATheatre"
  24.   abort
  25. end
  26.  
  27.  
  28. on MovieBoxRollover1  whichcrosshandler, whichsound
  29.   set Whichcast = the castnum of sprite 23
  30.   if rollover(23) then
  31.     if gTheHelpIsOn = 1 then
  32.       puppetsound whichsound
  33.       updatestage
  34.     end if
  35.     repeat while rollover(23)
  36.       if rollover(24) then
  37.         repeat while rollover(24)
  38.           puppetsprite 23, true
  39.           projectorCursor
  40.           set the castnum of sprite 23 = WhichCast + 1
  41.           updatestage
  42.           if (the mouseDown) then
  43.             set gWhichMovieNo = 1
  44.             do whichcrosshandler
  45.             exit repeat
  46.             abort
  47.           end if
  48.         end repeat
  49.       else
  50.         puppetsprite 23, false
  51.       end if
  52.     end repeat
  53.     puppetsound 0
  54.   end if
  55.   set the castnum of sprite 23 = Whichcast
  56.   updatestage
  57. end
  58.  
  59.  
  60. on MovieBoxRollover2  WhichCrossHandler, whichsound
  61.   set Whichcast = the castnum of sprite 23
  62.   if rollover(23) then
  63.     if gTheHelpIsOn = 1 then
  64.       puppetsound whichsound
  65.       updatestage
  66.     end if
  67.     repeat while rollover(23)
  68.       if rollover(24) then
  69.         repeat while rollover(24)
  70.           puppetsprite 23, true
  71.           projectorCursor
  72.           set the castnum of sprite 23 = WhichCast + 1
  73.           updatestage
  74.           if (the mouseDown) then
  75.             set gWhichMovieNo = 1
  76.             do WhichCrossHandler
  77.             exit repeat
  78.             abort
  79.           end if
  80.         end repeat
  81.       else
  82.         if rollover(25) then
  83.           repeat while rollover(25)
  84.             puppetsprite 23, true
  85.             projectorCursor
  86.             set the castnum of sprite 23 = WhichCast + 2
  87.             updatestage
  88.             if (the mouseDown) then
  89.               set gWhichMovieNo = 2
  90.               do WhichCrossHandler
  91.               exit repeat
  92.               abort
  93.             end if
  94.           end repeat
  95.         else
  96.           puppetsprite 23, false
  97.         end if
  98.       end if
  99.     end repeat
  100.     puppetsound 0
  101.   end if
  102.   set the castnum of sprite 23 =  Whichcast
  103.   updatestage
  104. end
  105.  
  106. on MovieBoxRollover3 WhichCrossHandler, whichsound
  107.   set Whichcast = the castnum of sprite 23
  108.   if rollover(23) then
  109.     if gTheHelpIsOn = 1 then
  110.       puppetsound whichsound
  111.       updatestage
  112.     end if
  113.     repeat while rollover(23)
  114.       if rollover(24) then
  115.         repeat while rollover(24)
  116.           puppetsprite 23, true
  117.           projectorCursor
  118.           set the castnum of sprite 23 = WhichCast + 1
  119.           set gWhichMovieNo = 1
  120.           updatestage
  121.           if (the mouseDown) then
  122.             do WhichCrossHandler
  123.             exit repeat
  124.             abort
  125.           end if
  126.         end repeat
  127.       end if
  128.       if rollover(25) then
  129.         repeat while rollover(25)
  130.           puppetsprite 23, true
  131.           projectorCursor
  132.           set the castnum of sprite 23 = WhichCast + 2
  133.           set gWhichMovieNo = 2
  134.           updatestage
  135.           if (the mouseDown) then
  136.             do WhichCrossHandler
  137.             exit repeat
  138.             abort
  139.           end if
  140.         end repeat
  141.       end if
  142.       if rollover(26) then
  143.         repeat while rollover(26)
  144.           puppetsprite 23, true
  145.           projectorCursor
  146.           set the castnum of sprite 23 = WhichCast + 3
  147.           set gWhichMovieNo = 3
  148.           updatestage
  149.           if (the mouseDown) then
  150.             do WhichCrossHandler
  151.             exit repeat
  152.             abort
  153.           end if
  154.         end repeat
  155.       else
  156.         puppetsprite 23, false
  157.         updatestage
  158.       end if
  159.     end repeat
  160.     puppetsound 0
  161.   end if
  162.   set the castnum of sprite 23 =  Whichcast
  163.   updatestage
  164. end
  165.  
  166. on MovieBoxRollover4 WhichCrossHandler, whichsound
  167.   set Whichcast = the castnum of sprite 23
  168.   if rollover(23) then
  169.     if gTheHelpIsOn = 1 then
  170.       puppetsound whichsound
  171.       updatestage
  172.     end if
  173.     repeat while rollover(23)
  174.       if rollover(24) then
  175.         repeat while rollover(24)
  176.           puppetsprite 23, true
  177.           projectorCursor
  178.           set the castnum of sprite 23 = WhichCast + 1
  179.           set gWhichMovieNo = 1
  180.           updatestage
  181.           if (the mouseDown) then
  182.             do WhichCrossHandler
  183.             exit repeat
  184.             abort
  185.           end if
  186.         end repeat
  187.       end if
  188.       if rollover(25) then
  189.         repeat while rollover(25)
  190.           puppetsprite 23, true
  191.           projectorCursor
  192.           set the castnum of sprite 23 = WhichCast + 2
  193.           set gWhichMovieNo = 2
  194.           updatestage
  195.           if (the mouseDown) then
  196.             do WhichCrossHandler
  197.             exit repeat
  198.             abort
  199.           end if
  200.         end repeat
  201.       end if
  202.       if rollover(26) then
  203.         repeat while rollover(26)
  204.           puppetsprite 23, true
  205.           projectorCursor
  206.           set the castnum of sprite 23 = WhichCast + 3
  207.           set gWhichMovieNo = 3
  208.           updatestage
  209.           if (the mouseDown) then
  210.             do WhichCrossHandler
  211.             exit repeat
  212.             abort
  213.           end if
  214.         end repeat
  215.       end if
  216.       if rollover(27) then
  217.         repeat while rollover(27)
  218.           puppetsprite 23, true
  219.           projectorCursor
  220.           set the castnum of sprite 23 = WhichCast + 4
  221.           set gWhichMovieNo = 4
  222.           updatestage
  223.           if (the mouseDown) then
  224.             do WhichCrossHandler
  225.             exit repeat
  226.             abort
  227.           end if
  228.         end repeat
  229.       else
  230.         puppetsprite 23, false
  231.         updatestage
  232.       end if
  233.     end repeat
  234.     puppetsound 0
  235.   end if
  236.   set the castnum of sprite 23 =  Whichcast
  237.   updatestage
  238. end
  239.  
  240. on MovieBoxRollover5  WhichCrossHandler, whichsound
  241.   set Whichcast = the castnum of sprite 23
  242.   if rollover(23) then
  243.     if gTheHelpIsOn = 1 then
  244.       puppetsound whichsound
  245.       updatestage
  246.     end if
  247.     repeat while rollover(23)
  248.       if rollover(24) then
  249.         repeat while rollover(24)
  250.           puppetsprite 23, true
  251.           projectorCursor
  252.           set the castnum of sprite 23 = WhichCast + 1
  253.           set gWhichMovieNo = 1
  254.           updatestage
  255.           if (the mouseDown) then
  256.             do WhichCrossHandler
  257.             return true
  258.             exit repeat
  259.             abort
  260.           end if
  261.         end repeat
  262.       end if
  263.       if rollover(25) then
  264.         repeat while rollover(25)
  265.           puppetsprite 23, true
  266.           projectorCursor
  267.           set the castnum of sprite 23 = WhichCast + 2
  268.           set gWhichMovieNo = 2
  269.           updatestage
  270.           if (the mouseDown) then
  271.             do WhichCrossHandler
  272.             return true
  273.             exit repeat
  274.             abort
  275.           end if
  276.         end repeat
  277.       end if
  278.       if rollover(26) then
  279.         repeat while rollover(26)
  280.           puppetsprite 23, true
  281.           projectorCursor
  282.           set the castnum of sprite 23 = WhichCast + 3
  283.           set gWhichMovieNo = 3
  284.           updatestage
  285.           if (the mouseDown) then
  286.             do WhichCrossHandler
  287.             return true
  288.             exit repeat
  289.             abort
  290.           end if
  291.         end repeat
  292.       end if
  293.       if rollover(27) then
  294.         repeat while rollover(27)
  295.           puppetsprite 23, true
  296.           projectorCursor
  297.           set the castnum of sprite 23 = WhichCast + 4
  298.           set gWhichMovieNo = 4
  299.           updatestage
  300.           if (the mouseDown) then
  301.             do WhichCrossHandler
  302.             return true
  303.             exit repeat
  304.             abort
  305.           end if
  306.         end repeat
  307.       end if
  308.       if rollover(28) then
  309.         repeat while rollover(28)
  310.           puppetsprite 23, true
  311.           projectorCursor
  312.           set the castnum of sprite 23 = WhichCast + 5
  313.           set gWhichMovieNo = 5
  314.           updatestage
  315.           if (the mouseDown) then
  316.             do WhichCrossHandler
  317.             return true
  318.             exit repeat
  319.             abort
  320.           end if
  321.         end repeat
  322.       else
  323.         set the castnum of sprite 23 =  Whichcast
  324.         puppetsprite 23, false
  325.         updatestage
  326.         return false
  327.       end if
  328.     end repeat
  329.     puppetsound 0
  330.   end if
  331.   set the castnum of sprite 23 =  Whichcast
  332.   puppetsprite 23, false
  333.   updatestage
  334.   return false
  335. end
  336.  
  337.  
  338.  
  339.